
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shenfenzheng"></i>
                    <div class="name">身份证</div>
                    <div class="fontclass">.icon-shenfenzheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoujihao-denglujiemian"></i>
                    <div class="name">手机号-登录界面</div>
                    <div class="fontclass">.icon-shoujihao-denglujiemian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mima"></i>
                    <div class="name">密码</div>
                    <div class="fontclass">.icon-mima</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yanzhengma-denglujiemian"></i>
                    <div class="name">验证码-登录界面</div>
                    <div class="fontclass">.icon-yanzhengma-denglujiemian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yinhangqiaguanli-shouyejingangqu"></i>
                    <div class="name">银行卡管理-首页金刚区</div>
                    <div class="fontclass">.icon-yinhangqiaguanli-shouyejingangqu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liushuichaxun-shouyejingangqu"></i>
                    <div class="name">流水查询-首页金刚区</div>
                    <div class="fontclass">.icon-liushuichaxun-shouyejingangqu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daikuanjilu-shouyejingangqu"></i>
                    <div class="name">贷款记录-首页金刚区</div>
                    <div class="fontclass">.icon-daikuanjilu-shouyejingangqu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gerenxinxibianji"></i>
                    <div class="name">个人信息编辑</div>
                    <div class="fontclass">.icon-gerenxinxibianji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chanpin-dibucaidan-weixuanzhong"></i>
                    <div class="name">产品-底部菜单-未选中</div>
                    <div class="fontclass">.icon-chanpin-dibucaidan-weixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chanpin-dibucaidan-xuanzhong"></i>
                    <div class="name">产品-底部菜单-选中</div>
                    <div class="fontclass">.icon-chanpin-dibucaidan-xuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gerenzhongxin-dibucaidan-weixuanzhong"></i>
                    <div class="name">个人中心-底部菜单-未选中</div>
                    <div class="fontclass">.icon-gerenzhongxin-dibucaidan-weixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gerenzhongxin-dibucaidan-xuanzhong"></i>
                    <div class="name">个人中心-底部菜单-选中</div>
                    <div class="fontclass">.icon-gerenzhongxin-dibucaidan-xuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gengduo-dibucaidan-weixuanzhong"></i>
                    <div class="name">更多-底部菜单-未选中</div>
                    <div class="fontclass">.icon-gengduo-dibucaidan-weixuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gengduo-dibucaidan-xuanzhong"></i>
                    <div class="name">更多-底部菜单-选中</div>
                    <div class="fontclass">.icon-gengduo-dibucaidan-xuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yinhangqiaguanli-shouyebankuaibiaoti"></i>
                    <div class="name">银行卡管理-首页版块标题</div>
                    <div class="fontclass">.icon-yinhangqiaguanli-shouyebankuaibiaoti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-liushuichaxun-shouyebankuaibiaoti"></i>
                    <div class="name">流水查询-首页版块标题</div>
                    <div class="fontclass">.icon-liushuichaxun-shouyebankuaibiaoti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daikuanjilu-shouyebankuaibiaoti"></i>
                    <div class="name">贷款记录-首页版块标题</div>
                    <div class="fontclass">.icon-daikuanjilu-shouyebankuaibiaoti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiaofeidai-tongyong"></i>
                    <div class="name">消费贷-通用</div>
                    <div class="fontclass">.icon-xiaofeidai-tongyong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jingyingdai-tongyong"></i>
                    <div class="name">经营贷-通用</div>
                    <div class="fontclass">.icon-jingyingdai-tongyong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-changjingdai-tongyong"></i>
                    <div class="name">场景贷-通用</div>
                    <div class="fontclass">.icon-changjingdai-tongyong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinyongqiachaoshi-tongyong"></i>
                    <div class="name">信用卡超市-通用</div>
                    <div class="fontclass">.icon-xinyongqiachaoshi-tongyong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhiyongjilu-bankuaibiaoti"></i>
                    <div class="name">支用记录-版块标题</div>
                    <div class="fontclass">.icon-zhiyongjilu-bankuaibiaoti</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tishi"></i>
                    <div class="name">提示</div>
                    <div class="fontclass">.icon-tishi</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
